/**
用于头部设计
 */

.shoubu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  //justify-content: space-around;
  background-color: white;
  z-index: 2;
  box-shadow: 0 2px 6px 0 rgba(0,0,0,0.3);
  .logo {
    position: relative;
    margin-left: 40px;
  }

  .dir {
    display: flex;
    align-items: center;
    margin-left: 20px;
    height: 100%;

    li {
      display: flex;
      align-items: center;
      line-height: 60%;
      height: 60%;
      padding: 0 10px;
      margin-left: 20px;
      font-size: 16px;
      color: #797979;
      cursor: pointer;
    }

    li:hover {
      background-color: #9b9b9b;
      color: white;
    }
  }

  .search {
    margin-left: 20px;
    position: relative;
    input {
      background-color: #f7f8f9;
      height: 34px;
      width: 272px;
      padding-left: 10px;
      border-radius: 17px;
      border: 1px solid #ecedee;
      color: #111;
    }
    input::placeholder {
      color: #a8a8a8;
      font-size: 16px;
      padding-top: 10px;
    }
    input~i {
      position: absolute;
      right: 10px;
      font-size: 20px;
      top: 50%;
      transform: translateY(-50%);
    }
  }

  .loginAbout {
    display: flex;
    align-items: center;
    padding: 10px 5px;
    margin-left: 20px;
    &>div {
      position: relative;
      margin-left: 10px;
      color: #bababa;
      cursor: pointer;
      i {
        position: relative;
        top: 2px;
        font-size: 25px;
      }
    }
  }
}
